<form action="/upload" enctype="multipart/form-data" method="POST">
    <input type="file" name="file" accept="image/*">
    <button type="submit">上传</button>
</form>